home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Leser 15 / Amiga Plus Leser CD 15.iso / Tools / Development / MMULib / Fixes / FixP5Scsi.readme < prev    next >
Encoding:
Text File  |  2002-03-13  |  1.8 KB  |  49 lines

  1. FixP5Scsi
  2. _____________________________________________________________________________
  3.  
  4. Some P5 SCSI devices drivers accesses chip memory for a controlled busy-wait 
  5. loop. I don't know precisely what this busy-wait is used for, but the device 
  6. does this by accessing the chip memory location 0xffff0 like this,
  7.  
  8.     nop
  9.     tst.w $ffff0
  10.     nop
  11.  
  12. however, WITHOUT EVEN ALLOCATING THIS LOCATION BEFORE. Obviously, this makes
  13. MuGuardianAngle SCREAM, and for good reason: What you see here is very bad
  14. programming style and very questionable for a commercial product. First of
  15. all, the chip memory timing depends on the DMA traffic of the native hardware
  16. and hence on the screen solution. Second, even IF this busy wait has to made,
  17. it is required to ALLOCATE the memory location used for the dummy read.
  18.  
  19. Unlike FixCybAccess, FixP5Scsi patches this problem by patching the code
  20. of the device drivers just in place, and avoids this hit. I haven't seen
  21. any problem by just removing this dummy wait here.
  22.  
  23. Currently, the following device drivers are patched:
  24.  
  25. 2060scsi.device
  26. 2040scsi.device
  27. cybscsi.device
  28. z3scsi.device
  29. 1240scsi.device
  30. 1260scsi.device
  31.  
  32. In case you own a P5 SCSI board that shows similar symptons as mentioned
  33. above (namely, dummy reads from 0xffff0) and that is not on the list, please
  34. let me know.
  35.  
  36.  
  37. This fix *DOES NOT* fix the general DMA related problems of the cybscsi.device, as 
  38. for example not calling the Os functions CachePreDMA() and CachePostDMA() and hence
  39. passing a (possibly invalid) logical address to the DMA logic instead of
  40. the true physical address.
  41.  
  42. You only need to run this program if you want to use the MuGuardianAngel. To
  43. install it, type
  44.  
  45. FixP5Scsi
  46.  
  47. on the shell. It will patch the problem right away in the device driver
  48. and need not to be run to be permanently active.
  49.